package com.gl.goods.ui.main.mvp.home;

import com.gl.goods.httpclint.HttpApi;
import com.gl.goods.net.RetrofitClient;
import com.gl.goods.ui.main.bean.HomeAdvertisementListBean;
import com.gl.goods.ui.main.mvp.home.HomeContract;

import java.util.Map;

import io.reactivex.Flowable;

/**
 * Time; 2020/3/11
 * Author: hmc
 */
public class HomeModel implements HomeContract.Model {

    @Override
    public Flowable<HomeAdvertisementListBean> getAdvertisementList() {
        return RetrofitClient.getInstance().getApi(HttpApi.baseUrl).getAdvertisementList();
    }

}
